package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统公告实体类
 */
@Data
@TableName("sys_announcement")
public class SysAnnouncement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 公告标题
     */
    private String title;

    /**
     * 公告内容
     */
    private String content;

    /**
     * 公告类型
     */
    private Integer type;

    /**
     * 发布人ID
     */
    private Long publisherId;

    /**
     * 发布时间
     */
    private Date publishTime;

    /**
     * 创建时间
     */
    private Date created;

    /**
     * 更新时间
     */
    private Date updated;

    /**
     * 状态(0:禁用,1:启用)
     */
    private Integer status;
    public Long getPublisher_id() {
        return publisherId;
    }
    
    public void setPublisher_id(Long publisher_id) {
        this.publisherId = publisher_id;
    }
    
    public Date getPublish_time() {
        return publishTime;
    }
    
    public void setPublish_time(Date publish_time) {
        this.publishTime = publish_time;
    }
}